﻿using MediatR;
using Warehouse.ErrorCode;

namespace Warehouse.Api.Write.AllCation.Command.Stoking
{
    public class UpdaetStockingCommand : IRequest<ApiResult<int>>
    {
        public int Id { get; set; }
        /// <summary>
        /// 入库单类型
        /// </summary>
        public int STId { get; set; }
        /// <summary>
        ///入库关联订单
        /// </summary>
        public string AssociatedOrderNumber { get; set; }
        /// <summary>
        /// 供应商订单编号 需要获取供应商信息
        /// </summary>
        public int SupplierId { get; set; }
        /// <summary>
        /// 订单编号 需要获取订购的信息
        /// </summary>
        public int OrderId { get; set; }
        /// <summary>
        /// 供应商名称 根据供应商编号反填
        /// </summary>
        public string SupplierName { get; set; }
        /// <summary>
        /// 供应商联系方式 根据供应商编号反填
        /// </summary>
        public string SupplierPhone { get; set; }
        /// <summary>
        /// 制单人 根据登录人反填
        /// </summary>
        public string PreparedName { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime PreparedTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
